
namespace ctsu.Admin.Forms.CoreLab
{

	public class SearchSamples : System.Windows.Forms.Form
	{
		public int SearchChoice = 0;
		private System.Windows.Forms.RadioButton rdoBatch;
		private System.Windows.Forms.Button btnOK;
		private System.Windows.Forms.RadioButton rdoLabel;
		private System.ComponentModel.Container components = null;

		public SearchSamples()
		{
			InitializeComponent();
		}

		protected override void Dispose(bool disposing)
		{
			if (disposing)
			{
				if (components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose(disposing);
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.rdoBatch = new System.Windows.Forms.RadioButton();
			this.rdoLabel = new System.Windows.Forms.RadioButton();
			this.btnOK = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// rdoBatch
			// 
			this.rdoBatch.Checked = true;
			this.rdoBatch.Location = new System.Drawing.Point(8, 8);
			this.rdoBatch.Name = "rdoBatch";
			this.rdoBatch.Size = new System.Drawing.Size(136, 19);
			this.rdoBatch.TabIndex = 0;
			this.rdoBatch.TabStop = true;
			this.rdoBatch.Text = "Search by batch";
			this.rdoBatch.CheckedChanged += new System.EventHandler(this.rdoBatch_CheckedChanged);
			// 
			// rdoLabel
			// 
			this.rdoLabel.Location = new System.Drawing.Point(8, 32);
			this.rdoLabel.Name = "rdoLabel";
			this.rdoLabel.Size = new System.Drawing.Size(128, 19);
			this.rdoLabel.TabIndex = 1;
			this.rdoLabel.Text = "Search by label";
			this.rdoLabel.CheckedChanged += new System.EventHandler(this.rdoBatch_CheckedChanged);
			// 
			// btnOK
			// 
			this.btnOK.Location = new System.Drawing.Point(56, 64);
			this.btnOK.Name = "btnOK";
			this.btnOK.Size = new System.Drawing.Size(75, 23);
			this.btnOK.TabIndex = 3;
			this.btnOK.Text = "&OK";
			this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
			// 
			// SearchSamples
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
			this.ClientSize = new System.Drawing.Size(184, 94);
			this.ControlBox = false;
			this.Controls.Add(this.btnOK);
			this.Controls.Add(this.rdoLabel);
			this.Controls.Add(this.rdoBatch);
			this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.Name = "SearchSamples";
			this.Text = "Search Samples";
			this.ResumeLayout(false);

		}
		#endregion

		private void rdoBatch_CheckedChanged(object sender, System.EventArgs e)
		{
			if (rdoBatch.Checked)
				this.SearchChoice = 0;
			else
				this.SearchChoice = 1;
		}

		private void btnOK_Click(object sender, System.EventArgs e)
		{
			this.Close();
		}
	}
}
